import request from '@/utils/request'

// 查询挂号交费信息列表
export function listGuahao(query) {
  return request({
    url: '/fee/guahao/list',
    method: 'get',
    params: query
  })
}

// 查询挂号交费信息详细
export function getGuahao(ID) {
  return request({
    url: '/fee/guahao/' + ID,
    method: 'get'
  })
}

// 新增挂号交费信息
export function addGuahao(data) {
  return request({
    url: '/fee/guahao',
    method: 'post',
    data: data
  })
}

// 修改挂号交费信息
export function updateGuahao(data) {
  return request({
    url: '/fee/guahao',
    method: 'put',
    data: data
  })
}

// 删除挂号交费信息
export function delGuahao(ID) {
  return request({
    url: '/fee/guahao/' + ID,
    method: 'delete'
  })

}
export function testMq(name){
  return request({
    url:'/Mq/'+name,
    method:'get'
  })
}
